package com.xiaoyezi.demo2.service;

import com.xiaoyezi.demo2.DataSource.Shop;

import java.util.List;

public interface IShopService {

    // 插入商品数据
    void insertShop(Shop shop);
    // 随机提取数据
    List<Shop> shopRandom(Shop num);
    // 销量最高数据
    List<Shop> getBySales();
    // 更新商品数据
    void updateShop(Shop shop);
    // 根据ID查询数据
    Shop getById(Shop shop);
    // 获取用户的所有商品
    List<Shop> getUserAllShop(Shop shop);
}
